package cn.zw.test;

public enum Man {

	nan("男"){
		public int age(){
			return 25;
		};
	},nv("女"){
		public int age(){
			return 23;
		};
	};
	
	private String value ;
	private Man(String value){
	this.value =value;
		
	};
	
	public String getValue() {
		return value;
	}
	
	public  abstract int age();
	
	
	
}
